package org.hashdb.client.net.bio.send;

import lombok.Getter;
import org.hashdb.client.net.bio.MessageType;
import org.hashdb.client.net.bio.msg.ClientMessage;

/**
 * Date: 2023/12/1 19:57
 *
 * @author huanyuMake-pecdle
 * @version 0.0.1
 */
@Getter
public class CommandMessage extends ClientMessage {

    private final String command;

    public CommandMessage(String command) {
        this.command = command;
    }

    @Override
    public MessageType getType() {
        return MessageType.COMMAND;
    }
}
